/**
 * Created by Administrator on 2017/5/12.
 */
/**
 * 定义管道
 * */
(
    function(){
        window.Pipe = Class.extend({
            init : function (option) {
                //管道方向 0 向下，1向上
                this.dir = 0;
                //管道宽度.高度
                this.width = 148;
                this.height = _.random(100,game.canvas.height*0.5);
            }
        })
    }

)()